package validate_enum

const (
	PASSWORD = "^[a-zA-Z0-9@#$%^&*()_+]{1,16}$"
	USERNAME = "^[0-9]*[a-zA-Z][a-zA-Z0-9]*$"
	PERMS    = "^[A-Z]([a-z0-9])+(:[A-Z]([a-z0-9])+)*$"                                           //校验路由标识
	Name     = "^[A-Z][a-z0-9]{0,19}$"                                                            //权限名称
	Path     = "^(\\/[A-Za-z][A-Za-z0-9_]{0,10})+$"                                               //路由或者接口，组件路径
	Https    = "(^https:\\/\\/([a-z][a-z0-9]{1,10}\\.){2}[a-z][a-z0-9]{1,10}(:[0-9]{2,5})*)|(^$)" //https协议
	ReqType  = "^GET|POST|PUT|DELETE|BUTTON$"
)
